package com.zheng.damo01.作业;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        System.out.println("请输入字符");
        StringBuilder sb=new StringBuilder();
        String str= new Scanner(System.in).nextLine();
        sb.append(str);
        sb.reverse();
        System.out.println(sb.toString());
    }
}
